package progress;

public class MyThread  implements Runnable{


    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName()+"-----进入" +System.currentTimeMillis());
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }finally {
        System.out.println(Thread.currentThread().getName()+"-----离开" +System.currentTimeMillis());
        }

    }
}
